package com.pro.meeting.service;

import java.util.List;

import com.pro.meeting.bean.Users;

public interface UsersService {
	//根据wid查询Users对象
	public Users getByWid(String wid);
	//根据openid查询Users对象
	public Users getByOpenid(String openid);
	//通过邮箱查询Users
	public Users getByEmail(String email);
	//修改，根据email 修改Users表中的wid
	public int updateWidByEmail(String email,String wid);
	//微信端 用户--》更新用户
	public int updateWxByUid(Users users  );
	
	
	
	//############TODO 后台管理系统
	public List<Users> getAll();
	public int delById(String id);

	public int add(Users u);
}
